package com.hskn.hss.module.worktype.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tlworktype.entity.TlWorkType;
import com.hskn.hss.module.worktype.entity.WorkType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-17
 */
public interface IWorkTypeService extends IService<WorkType> {

    List<WorkType> mList(JSONObject params) throws HssException;

    Map<String, TlWorkType> getWorkTypeMap(QueryWrapper<TlWorkType> workTypeQueryWrapper);

    void mUpdate(JSONObject params) throws HssException;

    void add(JSONObject params) throws HssException;

    void del(JSONObject params) throws HssException;

}
